package com.soft.collateral.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.soft.collateral.entity.Meta;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MenuDTO implements Serializable {

    private String path;
    private String component;
    private String name;
    private Boolean alwaysShow;
    private Meta meta;

    //子菜单
    private List<MenuDTO> children;
}